﻿using System;
using System.Drawing;
using System.Windows.Forms;

namespace sy4_8
{
    public partial class Form5 : Form
    {
        public Form5()
        {
            InitializeComponent();
            this.Text = "程序4 - 数据库管理";
        }

        private void Form5_Load(object sender, EventArgs e)
        {
            Label label = new Label();
            label.Text = "这是程序4 - 数据库管理";
            label.Font = new Font("微软雅黑", 14);
            label.AutoSize = true;
            label.Location = new Point(50, 50);
            this.Controls.Add(label);

            DataGridView dataGrid = new DataGridView();
            dataGrid.Location = new Point(50, 100);
            dataGrid.Size = new Size(400, 200);
            this.Controls.Add(dataGrid);
        }
    }
}